package com.huan.dts.admin.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 管理后台服务启动类
 *
 * @author xuebaoyu
 * @QQ:1197673878
 */
@SpringBootApplication(scanBasePackages = { "com.huan.dts.db", "com.huan.dts.core",
		"com.huan.dts.admin" })
@MapperScan({"com.huan.dts.db.dao", "com.huan.dts.db.dao.ex"})
@EnableTransactionManagement
@EnableScheduling
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}